package com.wanxi.javabean;

public class Fridge {
    private String color;
    private int capacity;
    private String model;
    private String brand;

    @Override
    public String toString() {
        return "Fridge{" +
                "color='" + color + '\'' +
                ", capacity=" + capacity +
                ", model='" + model + '\'' +
                ", brand='" + brand + '\'' +
                '}';
    }

    public Fridge() {
    }

    public Fridge(String color, int capacity, String model, String brand) {
        this.color = color;
        this.capacity = capacity;
        this.model = model;
        this.brand = brand;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public int getCapacity() {
        return capacity;
    }

    public void setCapacity(int capacity) {
        this.capacity = capacity;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }
}
